-- GENERATED SPELL FOR [Siegesmith Stronghoof] --


function spell0_31106(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(15708,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_31106', 5299, 1)
end

function Sorts_31106(pUnit, Event)
local choix_sorts_31106 = math.random(0, 0)
if choix_sorts_31106 == 0 then
pUnit:RegisterEvent('spell0_31106', 1, 1)
end
end

function mob31106_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_31106', math.random(1500, 3000), 1)
end

function mob31106_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31106_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31106_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(31106, 1, 'mob31106_Action')
RegisterUnitEvent(31106, 2, 'mob31106_Leave')
RegisterUnitEvent(31106, 3, 'mob31106_Kill')
RegisterUnitEvent(31106, 4, 'mob31106_Die')
